﻿using DevExpress.XtraEditors.Repository;

namespace HuaCheng.Model
{
    public class StepRow
    {
        public RepositoryItem stepNum;
        public RepositoryItem stepName;
        public RepositoryItem stepTime;
        public RepositoryItem voltage;
        public RepositoryItem current;
        public RepositoryItem cap;
        public RepositoryItem energy;
        public RepositoryItem deltaVolt;
        public RepositoryItem power;
        public RepositoryItem loadResistor;
        public RepositoryItem cutoffCurr;
        public RepositoryItem beginValue;
        public RepositoryItem slope;
        public RepositoryItem endValue;
        public RepositoryItem amplitude1;
        public RepositoryItem time1;
        public RepositoryItem amplitude2;
        public RepositoryItem time2;
        public RepositoryItem resistance;
        public RepositoryItem maxVi;
        public RepositoryItem minVi;
        public RepositoryItem maxTi;
        public RepositoryItem minTi;
        public RepositoryItem singleVolt;
        public RepositoryItem StepNum
        {
            get { return stepNum; }
            set { stepNum = value; }
        }
        public RepositoryItem StepName
        {
            get { return stepName; }
            set { stepName = value; }
        }
        public RepositoryItem StepTime
        {
            get { return stepTime; }
            set { stepTime = value; }
        }
        public RepositoryItem Voltage
        {
            get { return voltage; }
            set { voltage = value; }
        }
        public RepositoryItem Current
        {
            get { return current; }
            set { current = value; }
        }
        public RepositoryItem Cap
        {
            get { return cap; }
            set { cap = value; }
        }
        public RepositoryItem Energy
        {
            get { return energy; }
            set { energy = value; }
        }
        public RepositoryItem DeltaVolt
        {
            get { return deltaVolt; }
            set { deltaVolt = value; }
        }
        public RepositoryItem Power
        {
            get { return power; }
            set { power = value; }
        }
        public RepositoryItem LoadResistor
        {
            get { return loadResistor; }
            set { loadResistor = value; }
        }
        public RepositoryItem CutoffCurr
        {
            get { return cutoffCurr; }
            set { cutoffCurr = value; }
        }
        public RepositoryItem BeginValue
        {
            get { return beginValue; }
            set { beginValue = value; }
        }
        public RepositoryItem Slope
        {
            get { return slope; }
            set { slope = value; }
        }
        public RepositoryItem EndValue
        {
            get { return endValue; }
            set { endValue = value; }
        }
        public RepositoryItem Amplitude1
        {
            get { return amplitude1; }
            set { amplitude1 = value; }
        }
        public RepositoryItem Time1
        {
            get { return time1; }
            set { time1 = value; }
        }
        public RepositoryItem Amplitude2
        {
            get { return amplitude2; }
            set { amplitude2 = value; }
        }
        public RepositoryItem Time2
        {
            get { return time2; }
            set { time2 = value; }
        }
        public RepositoryItem Resistance
        {
            get { return resistance; }
            set { resistance = value; }
        }
        public RepositoryItem MaxVi
        {
            get { return maxVi; }
            set { maxVi = value; }
        }
        public RepositoryItem MinVi
        {
            get { return minVi; }
            set { minVi = value; }
        }
        public RepositoryItem MaxTi
        {
            get { return maxTi; }
            set { maxTi = value; }
        }
        public RepositoryItem MinTi
        {
            get { return minTi; }
            set { minTi = value; }
        }
        public RepositoryItem SingleVolt
        {
            get { return singleVolt; }
            set { singleVolt = value; }
        }
        public StepRow(RepositoryItem StepNum,RepositoryItem StepName,RepositoryItem StepTime,RepositoryItem Voltage,RepositoryItem Current,
            RepositoryItem Cap,RepositoryItem Energy,RepositoryItem DeltaVolt,RepositoryItem Power,RepositoryItem LoadResistor,RepositoryItem 
            CutoffCurr,RepositoryItem BeginValue,RepositoryItem Slope,RepositoryItem EndValue,RepositoryItem Amplitude1,RepositoryItem Time1,
            RepositoryItem Amplitude2,RepositoryItem Time2,RepositoryItem Resistance,RepositoryItem MaxVi,RepositoryItem MinVi,RepositoryItem
            MaxTi,RepositoryItem MinTi,RepositoryItem SingleVolt)
        {
            this.stepNum = StepNum;
            this.stepName = StepName;
            this.stepTime = StepTime;
            this.voltage = Voltage;
            this.current = Current;
            this.cap = Cap;
            this.energy = Energy;
            this.deltaVolt = DeltaVolt;
            this.power = Power;
            this.loadResistor = LoadResistor;
            this.cutoffCurr = CutoffCurr;
            this.beginValue = BeginValue;
            this.slope = Slope;
            this.endValue = EndValue;
            this.amplitude1 = Amplitude1;
            this.time1 = Time1;
            this.amplitude2 = Amplitude2;
            this.time2 = Time2;
            this.resistance = Resistance;
            this.maxVi = MaxVi;
            this.minVi = MinVi;
            this.maxTi = MaxTi;
            this.minTi = MinTi;
            this.singleVolt = SingleVolt;
        }
    }
}

